﻿CREATE PROCEDURE [dbo].[ShrinkDatabase]
	@name NVARCHAR(256),
	@logName NVARCHAR(256)
AS
BEGIN
--select * from sys.database_files

 DBCC ShrinkDatabase(@name)
 DBCC ShrinkFile(@name)
 DBCC ShrinkFile(@logName)
END